package com.eden.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 李秉林
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultJson implements Serializable {
	
	private static final long serialVersionUID = 123126L;
	
	private Integer code;
	
	private boolean success;
	
	private String message;
	
	private Object data;
	
	public ResultJson(Integer code, boolean success, String message) {
		this.code = code;
		this.success = success;
		this.message = message;
	}
}